package cevent.source.cloudcenter.server.exception;/**
 * Created by Cevent on 2021/5/23.
 */

/**
 * @author cevent
 * @description 异常代码
 * @date 2021/5/23 9:27
 */
public enum  SystemExceptionCode {
    RESOURCE_INPUT_ERROR("201","请输入JSON格式资源树"),
    RESOURCE_UNIID_ERROR("202","资源ID异常请联系管理员"),
    SCRIPT_ERROR("203","代码脚本错误，请输入正确内容，或联系管理员");
    private String code;
    private String desc;

    SystemExceptionCode(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
